package com.ddwl.admin.bo;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class DingTalkBo {


    private String msgtype;
    private Text text;
    private Text link;
    private Text markdown;
    private Text actionCard;
    private At at;


    @Setter
    @Getter
    public class Text {

        private String content;
        private String title;
        private String text;
        private String btnOrientation;
        private String singleTitle;
        private String singleURL;
    }

    @Setter
    @Getter
    public class At {

        private List<String> atMobiles;
        private boolean isAtAll;

    }

}
